/*
 * ColaToColaReader.h
 *
 *  Created on: Nov 16, 2011
 *      Author: gonzalo
 */

#ifndef COLATOCOLAREADER_H_
#define COLATOCOLAREADER_H_

#include "../Threads/Thread.h"
#include "../../Server/ColaMensajesSDL.h"
#include "../Constantes.h"

class ColaToColaReader : public Thread{
public:
	ColaToColaReader(ColaMensajesSDL* aLeer,ColaMensajesSDL* aLlenar);
	virtual ~ColaToColaReader();
	void terminar();
protected:
	virtual void* run();
private:
	ColaMensajesSDL* aLeer;
	ColaMensajesSDL* aLlenar;
	bool running;
};

#endif /* COLATOCOLAREADER_H_ */
